Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowflake: Support interval data type #1515

Merged
merged 17 commits into from
Mar 21, 2024
Merged

Conversation

Amogh-Bharadwaj
Copy link
Contributor

This PR maps PostgreSQL's Interval data type to VARIANT in Snowflake of the form:

{
    "hours": 9,
    "days": 131,
    "months": 10,
    "years": 51,
    "valid": true
}

@Amogh-Bharadwaj Amogh-Bharadwaj force-pushed the datatypes/support-interval branch from dae7801 to fcba214 Compare March 21, 2024 06:57
@Amogh-Bharadwaj Amogh-Bharadwaj requested a review from serprex March 21, 2024 07:20
@Amogh-Bharadwaj
Copy link
Contributor Author

Functionally tested

@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 73a39e9 into main Mar 21, 2024
7 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the datatypes/support-interval branch March 21, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants